package com.perform;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author c-fanqj
 * @date 2022/8/23
 * @apiNote
 * @MapperScan("com.study.springcloud.mapper.**") 或者在每个 Mapper 接口文件上添加 @Mapper 也可以
 */
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
//@MapperScan("com.study.springcloud.mapper")
@MapperScan({"com.perform.mapper", "com.perform.mapper.*"})
@EnableEurekaClient
@ServletComponentScan
public class SystemTaskListApplication {
    public static void main(String[] args) {
        SpringApplication.run(SystemTaskListApplication.class, args);
    }
}
